﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Swork03_28.Domain.TraceableInfos
{
    [Table("Slaughter")]
    public class Slaughter : Audit
    {
        [Key]
        public int Id { get; set; }

        [StringLength(50)]
        public string? BatchId { get; set; }

        /// <summary>
        /// 到厂均重
        /// </summary>
        [StringLength(50)]
        public string? Counterpoise { get; set; }

        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime? BeginData { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime? FinishData { get; set; }

        /// <summary>
        /// 屠宰资质
        /// </summary>
        [StringLength(50)]
        public string? Aptitude { get; set; }

        /// <summary>
        /// 相关资质
        /// </summary>
        public string? Certification { get; set; }
    }
}
